﻿// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2023 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Core.Entities;

/// <summary>
/// 全球化和本地化
/// </summary>
[Comment("全球化和本地化")]
[Table("Sys_Localization")]
public class SysLocalization : FullEntityNoIdentity
{
    /// <summary>
    /// 标题类型(同一个类型，唯一)
    /// </summary>
    [Comment("标题类型")]
    public string Title { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [Comment("备注")]
    public string Remark { get; set; }

    #region ref

    /// <summary>
    /// 全球化和本地化翻译
    /// </summary>
    [Navigate(NavigateType.OneToMany, nameof(SysLocalizationTranslation.LocalizationId))]
    public List<SysLocalizationTranslation> Translations { get; set; }

    #endregion ref
}